<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>订单支付</title>
    <link rel="stylesheet" type="text/css" href="../../../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/iconfont/iconfont.css">
    <link rel="stylesheet" type="text/css" href="../../../css/my/order/payment.css">
</head>

<body style="cursor: pointer;">
    <header class="aui-bar aui-bar-nav aui-margin-b-10" id="header">
        <a class="aui-pull-left aui-btn">
            <span class="aui-iconfont aui-icon-left" onclick="closeWin()"></span>
        </a>
        <div class="aui-title">支付</div>
    </header>
</body>
<script src="../../../script/extend/jquery-3.3.1.min.js"></script>
<script src="../../../script/aui/api.js"></script>
<script src="../../../script/common.js"></script>
<script src="../../../script/config.js"></script>
<script>
    apiready = function() {
        api.parseTapmode();
        //设置高度
        var header = $api.byId('header');
        $api.fixStatusBar(header);

        var headerPos = $api.offset(header),
            frameheight = api.winHeight - $api.byId('header').offsetHeight;

        api.openFrame({
            name: 'payment_frm',
            url: './payment_frm.html',
            rect: {
                x: 0,
                y: headerPos.h,
                w: 'auto',
                h: frameheight
            },
            bgColor: 'rgba(0,0,0,0)',
            vScrollBarEnabled: true,
            hScrollBarEnabled: true,
            pageParam: {
                order_id : api.pageParam.order_id,
                product_id : api.pageParam.product_id,
                order_total_price : api.pageParam.order_total_price,
                pay_deadline: api.pageParam.pay_deadline
            }
        });
    };

</script>

<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
